from manimlib import *
from numpy import square
import numpy as np

class Test(Scene):
    #75cfb8
    #浅绿
    #bbdfc8
    #浅黄
    #f0e5d8
    #深黄
    #ffc478
    def construct(self):
        # self.add(NumberPlane()) 
        # ,,,
        c1=Circle(color=RED,fill_opacity=1).shift(UP*3+LEFT*5).scale(0.9)
        c2=Circle(color='#ffc478',fill_opacity=1).shift(UP*1+LEFT*5).scale(0.9)
        c3=Circle(color=BLUE,fill_opacity=1).shift(DOWN*1+LEFT*5).scale(0.9)
        c4=Circle(color='#75cfb8',fill_opacity=1).shift(DOWN*3+LEFT*5).scale(0.9)
        self.add(c1,c2,c3,c4)
        t1=Text('14个小球不是红色',color=BLACK).next_to(c1)
        t2=Text('16个小球不是黄色',color=BLACK).next_to(c2)
        t3=Text('24个小球不是蓝色',color=BLACK).next_to(c3)
        t4=Text('12个小球不是绿色',color=BLACK).next_to(c4)
        self.add(t1,t2,t3,t4,Text('箱子里一共有\n多少个红球 ?',color=GRAY).shift(RIGHT*4))
        self.wait(0.03)
